#include "TokenColors.h"

extern const std::map<std::string, LogType> colorsMap = { {"FrontBlack",LogType::FrontBlack},
                                                  {"FrontBlack",LogType::FrontBlack},
                                                  {"FrontRed",LogType::FrontRed},
                                                  {"FrontGreen",LogType::FrontGreen},
                                                  {"FrontYellow",LogType::FrontYellow},
                                                  {"FrontBlue",LogType::FrontBlue},
                                                  {"FrontPurple",LogType::FrontPurple},
                                                  {"FrontCyan",LogType::FrontCyan},
                                                  {"FrontWhite",LogType::FrontWhite},
                                                  {"BackBlack",LogType::BackBlack},
                                                  {"BackRed",LogType::BackRed},
                                                  {"BackGreen",LogType::BackGreen},
                                                  {"BackYellow",LogType::BackYellow},
                                                  {"BackBlue",LogType::BackBlue},
                                                  {"BackPurple",LogType::BackPurple},
                                                  {"BackCyan",LogType::BackCyan},
                                                  {"BackWhite",LogType::BackWhite},

                                                  {"LightFrontBlack",LogType::LightFrontBlack},
                                                  {"LightFrontRed",LogType::LightFrontRed},
                                                  {"LightFrontGreen",LogType::LightFrontGreen},
                                                  {"LightFrontYellow",LogType::LightFrontYellow},
                                                  {"LightFrontBlue",LogType::LightFrontBlue},
                                                  {"LightFrontPurple",LogType::LightFrontPurple},
                                                  {"LightFrontCyan",LogType::LightFrontCyan},
                                                  {"LightFrontWhite",LogType::LightFrontWhite},
                                                  {"LightBackBlack",LogType::LightBackBlack},
                                                  {"LightBackRed",LogType::LightBackRed},
                                                  {"LightBackGreen",LogType::LightBackGreen},
                                                  {"LightBackYellow",LogType::LightBackYellow},
                                                  {"LightBackBlue",LogType::LightBackBlue},
                                                  {"LightBackPurple",LogType::LightBackPurple},
                                                  {"LightBackCyan",LogType::LightBackCyan},
                                                  {"LightBackWhite",LogType::LightBackWhite},

                                                        };

const char *getColorString(LogType type)
{
 return logCommands[enumToInt(type)];
}
